package com.cfs.dao.bz;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cfs.po.bz.Information;
import com.cfs.vo.Condition;
import com.cfs.vo.Pager;

public interface InformationDao {

	public Long insert(Information info);

	public Integer delete(Long id);

	public Long update(Information info);

	public Integer release(Information info);
	
	public Integer insertRelease(Information info);

	public Information get(Long id);
	
	public List<Information> list(@Param("pid") Long pid,@Param("p") Pager p);

	public Integer queryRows(Condition c);

	public List<Information> list(Condition c);

	public List<Information> listAll();	
	
	public List<Information> query(@Param("col_id")Long col_id, @Param("terminal")String terminal);
		
}
